<template>
  <div>
      <!-- 历史记录热门搜索组件 -->
      <HistoryHot v-if="1 == 1" :historyKeywordList="historyKeywordList" :hotKeywordList="hotKeywordList" @tagClick="tagClick" />

      <!-- 搜索列表区块 -->
      <MyList v-else-if="2 == 2" :arr="listArr" @cellClick="tagClick" />

      <!-- 产品区块 -->
      <MyProduct v-else :filterCategory="filterCategory" :goodsList="goodsList" @categoryChange="categoryChange" @priceChange="priceChange" />
  </div>
</template>

<script>
import HistoryHot from './HistoryHot.vue'
import MyList from './MyList.vue'
import MyProduct from './MyProduct.vue'
export default {
        name:All,
        components:{
            HistoryHot,MyList,MyProduct
        }
}
</script>

<style>

</style>